import { IPSChartSeriesGauge } from './ipschart-series-gauge';
import { PSDEChartSeriesCSNoneImplBase } from './psdechart-series-csnone-impl-base';

export class PSDEChartSeriesGaugeImpl extends PSDEChartSeriesCSNoneImplBase implements IPSChartSeriesGauge {
  get endAngle(): number {
    return this.M.endAngle;
  }

  get maxValue(): number {
    return this.M.maxValue;
  }

  get minValue(): number {
    return this.M.minValue;
  }

  get radius(): IModel {
    return this.M.radius;
  }

  get splitNumber(): number {
    return this.M.splitNumber;
  }

  get startAngle(): number {
    return this.M.startAngle;
  }

  get clockwise(): boolean {
    return this.M.clockwise;
  }

  get cls(): string {
    return 'PSDEChartSeriesGaugeImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.chart.IPSChartSeriesGauge') return true;
    return super.instanceof(cls);
  }
}
